To run the assembler, type the following command in a shell window:
as [
option] ... [
file] ...
You can specify one or more command-line options. These assembler options are described in the following section.
You can specify one or more files containing assembly language source code. If no files are specified, as uses the standard input (stdin) for the assembly source input.
By convention, files containing assembly language source code should have a .s extension.